//
//  BaoCheRemarkView.m
//  QMCXDriver
//
//  Created by Massimo on 2017/4/17.
//  Copyright © 2017年 Massimo. All rights reserved.
//

#import "BaoCheRemarkView.h"

@implementation BaoCheRemarkView


// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
//    CGContextRef context = UIGraphicsGetCurrentContext();
    CGFloat pandding = 10;
    
    CGRect textRect = CGRectMake(pandding, pandding, CGRectGetWidth(rect) - 2 *pandding, CGRectGetHeight(rect) - 2 * pandding);
    
    [self.remark drawInRect:textRect withAttributes:@{NSFontAttributeName:[UIFont systemFontOfSize:12],
                                                      NSForegroundColorAttributeName:LLColorRGB(51, 51, 51)}];
    
}


@end
